Add wZEC pool; brownie-token-tester integration#111
Open
samwerner wants to merge 13 commits into
Open
Conversation
halito22
approved these changes
Nov 17, 2021
| Curve wZEC pool supports swaps between the following wrapped ZEC coins: | ||
|
|
||
| - `wZEC`: [0x4A64515E5E1d1073e83f30cB97BEd20400b66E10](https://etherscan.io/address/0x4A64515E5E1d1073e83f30cB97BEd20400b66E10) | ||
| - `renZEC`: [0x1c5db575e2ff833e46a2e9864c22f4b22e0b37c2](https://etherscan.io/address/0x1c5db575e2ff833e46a2e9864c22f4b22e0b37c2) |
| @external | ||
| def unkill_me(): | ||
| assert msg.sender == self.owner # dev: only owner | ||
| self.is_killed = False |
| "testing": { | ||
| "initial_amount": 100 | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What I did
This PR consists of the following changes:
brownie-token-testerinto the test suite to allow for easy minting of tokens for testingisort(removesunknown_third_partyissues) andflake8versionsNote
How to verify it
Integation of
brownie-token-testerRun full test suite:
brownie testTest wZEC Pool
Run test suite:
brownie test --pool wzecRun test suite against forked mainnet:
brownie test --network mainnet-fork --pool wzec